Optimal. Leaf size=94 \[ \frac {2 a \sqrt {\cos (e+f x)} F\left (\left .\frac {1}{2} (e+f x)\right |2\right ) \sqrt {d \sec (e+f x)}}{3 d^2 f}+\frac {2 a \sin (e+f x)}{3 d f \sqrt {d \sec (e+f x)}}-\frac {2 b}{3 f (d \sec (e+f x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3486, 3769, 3771, 2641} \[ \frac {2 a \sqrt {\cos (e+f x)} F\left (\left .\frac {1}{2} (e+f x)\right |2\right ) \sqrt {d \sec (e+f x)}}{3 d^2 f}+\frac {2 a \sin (e+f x)}{3 d f \sqrt {d \sec (e+f x)}}-\frac {2 b}{3 f (d \sec (e+f x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2641
Rule 3486
Rule 3769
Rule 3771
Rubi steps
\begin {align*} \int \frac {a+b \tan (e+f x)}{(d \sec (e+f x))^{3/2}} \, dx &=-\frac {2 b}{3 f (d \sec (e+f x))^{3/2}}+a \int \frac {1}{(d \sec (e+f x))^{3/2}} \, dx\\ &=-\frac {2 b}{3 f (d \sec (e+f x))^{3/2}}+\frac {2 a \sin (e+f x)}{3 d f \sqrt {d \sec (e+f x)}}+\frac {a \int \sqrt {d \sec (e+f x)} \, dx}{3 d^2}\\ &=-\frac {2 b}{3 f (d \sec (e+f x))^{3/2}}+\frac {2 a \sin (e+f x)}{3 d f \sqrt {d \sec (e+f x)}}+\frac {\left (a \sqrt {\cos (e+f x)} \sqrt {d \sec (e+f x)}\right ) \int \frac {1}{\sqrt {\cos (e+f x)}} \, dx}{3 d^2}\\ &=-\frac {2 b}{3 f (d \sec (e+f x))^{3/2}}+\frac {2 a \sqrt {\cos (e+f x)} F\left (\left .\frac {1}{2} (e+f x)\right |2\right ) \sqrt {d \sec (e+f x)}}{3 d^2 f}+\frac {2 a \sin (e+f x)}{3 d f \sqrt {d \sec (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.20, size = 69, normalized size = 0.73 \[ -\frac {\sqrt {d \sec (e+f x)} \left (-a \sin (2 (e+f x))-2 a \sqrt {\cos (e+f x)} F\left (\left .\frac {1}{2} (e+f x)\right |2\right )+b \cos (2 (e+f x))+b\right )}{3 d^2 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.57, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {d \sec \left (f x + e\right )} {\left (b \tan \left (f x + e\right ) + a\right )}}{d^{2} \sec \left (f x + e\right )^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \tan \left (f x + e\right ) + a}{\left (d \sec \left (f x + e\right )\right )^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.78, size = 172, normalized size = 1.83 \[ \frac {\frac {2 i \EllipticF \left (\frac {i \left (-1+\cos \left (f x +e \right )\right )}{\sin \left (f x +e \right )}, i\right ) \sqrt {\frac {1}{1+\cos \left (f x +e \right )}}\, \sqrt {\frac {\cos \left (f x +e \right )}{1+\cos \left (f x +e \right )}}\, \cos \left (f x +e \right ) a}{3}+\frac {2 i \EllipticF \left (\frac {i \left (-1+\cos \left (f x +e \right )\right )}{\sin \left (f x +e \right )}, i\right ) \sqrt {\frac {1}{1+\cos \left (f x +e \right )}}\, \sqrt {\frac {\cos \left (f x +e \right )}{1+\cos \left (f x +e \right )}}\, a}{3}-\frac {2 \left (\cos ^{2}\left (f x +e \right )\right ) b}{3}+\frac {2 \cos \left (f x +e \right ) \sin \left (f x +e \right ) a}{3}}{f \cos \left (f x +e \right )^{2} \left (\frac {d}{\cos \left (f x +e \right )}\right )^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \tan \left (f x + e\right ) + a}{\left (d \sec \left (f x + e\right )\right )^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {a+b\,\mathrm {tan}\left (e+f\,x\right )}{{\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \tan {\left (e + f x \right )}}{\left (d \sec {\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________